<?php
$p = 'themes/default/';
$tpl->display($p . 'header.tpl.php');
$tpl->display($p . 'main.tpl.php');
$tpl->display($p . 'footer.tpl.php');
?>